<tr class="single_field_block field_block_<?=$this->fieldName;?>">
	<td class="field-title">
		<label class="field_title"><?=$this->params['title'];?></label>
		<div class="field-comment"><?=$this->params['comment'];?></div>
	</td>
	<td class="field-place">
	<a href="#" class="close delfieldbtn delfieldbtn_<?=$this->fieldName;?>">&nbsp;</a>
		<select name="<?=$this->fieldArrName;?>[<?=$this->fieldName;?>]">
<?
while (list ($k, $v) = each($this->params['values'])) 
{
	if (is_array($v))
	{
		?><optgroup label="<?php echo $k; ?>"><?php
		foreach ($v as $kk => $vv)
		{
			?><option value="<?=htmlspecialchars($kk);?>" <?=(($kk == $this->data) ? ' selected' : '');?>><?=$vv;?></option><?php
		}	
		?></optgroup><?php
	}
	else
	{
		?><option value="<?=htmlspecialchars($k);?>" <?=(($k == $this->data) ? ' selected' : '');?>><?=$v;?></option><?
	}	
}
?>
		</select>
		<input type="hidden" name="single_field_name" value="<?=htmlspecialchars($this->fieldName);?>">	
	</td>
</tr>